//hfd;kalsgh;alfgkhfaklgj//File: MainTester.cpp
//Author: Ethan Tadlock
//Desc.: Header file jfjhklfor the main module
//Updated: 3/27

#ifndef INTERSECTION_H
#define INTERSECTION_H

#include <iostream>
#include <cstdlib>
#include "DrivingLane.h"
#include "StopLight.h"

using namespace std;
//adgaasdfasdf

class Intersection
{
private:
	drivingLane North;
	drivingLane South;
	drivingLane Turn;
	drivingLane Exit;
	int numberOfDrivers;

public:
	int totalInInter; // modable counter for handling tests
	int getNumberOfDrivers();
//jnhihn
	void northAddDriver();
	void southAddDriver();
	void turnAddDriver();
	void exitAddDriver();

	void northRemoveDriver();
	void southRemoveDriver();
	void turnRemoveDriver();
	void exitRemoveDriver();

	int getNorthNumberOfDrivers();
	int getSouthNumberOfDrivers();
	int getTurnNumberOfDrivers();
	int getExitNumberOfDrivers();

	void northChangeMode(int mode);
	void southChangeMode(int mode);
	void turnChangeMode(int mode);
	void exitChangeMode(int mode);

	int getNorthMode();
	int getSouthMode();
	int getTurnMode();
	int getExitMode();

	bool isEmpty(int);

};

#endif